package woniuxy.entity;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.BeanFactoryAware;
import org.springframework.beans.factory.BeanNameAware;
import org.springframework.beans.factory.DisposableBean;

public class Chinese  implements Person{
    String name;

    public Chinese() {
    }

    public Chinese(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "{" +
                "名字='" + name + '\'' +
                '}';
    }

    private void find(){
        System.out.println("1123");
    }
    @Override
    public void eat() {
        System.out.println("我是中国人，我吃中餐！");
    }
}
